<?php
    $old_value = $model->getCorrectionFactor();
?>
<script type="text/javascript">
$(document).ready(function(){
	// validation config
	<?php require('library/js/validator/config.rencana_panen.js');?>	
});

</script>
<div class="title">Rencana VS Realisasi Panen</div>
<form name="frm_<?=$subbagian;?>" id="frm_<?=$subbagian;?>" method="post" action="index.php?bagian=<?=$bagian;?>&subbagian=<?=$subbagian;?>&action=confirm">
    <ul>
    	<li class="header"><span>Faktor Koreksi Panen</span></li>
        <li><span>
            <label>Faktor Koreksi (0.01-0.99):</label>
            <input type="text" id="correction_factor" name="correction_factor" value="<?=$old_value;?>"/>
        </span></li>	
    </ul>
	<ul>
		<li class="header"><span>Simpan</span></li>
		<li class="button"><span>
			<input type="submit" name="submit" id="submit" value="Simpan Data" class="simpan"/>
		</span></li>
	</ul>
</form>